package com.lzq.mybatis.session;

import java.util.List;

public interface sqlSession {
    //查询多条记录 statement == sourceid == namespace + id
    public <E> List<E> selectList(String statement,Object parameters);
    //查询一条记录
    public <T> T selectOne(String statement,Object parameters);
    //通过动态代理实现面向接口的编程模型
    public <T> T getMapper(Class<T> type);
}
